﻿<%@ Control language="C#" Inherits="Store.ViewStore" CodeFile="ViewStore.ascx.cs" AutoEventWireup="true"%>
<%@ Register Src="../../controls/tm_typicalStoreLogoList.ascx" TagName="tm_typicalStoreLogoList"
    TagPrefix="uc1" %>
<%@ Register TagPrefix="dnn" TagName="Audit" Src="~/controls/ModuleAuditControl.ascx" %>
<asp:GridView ID="gvStoreList" runat="server" AutoGenerateColumns="False" ShowHeader="False" CssClass="table" DataSourceID="dsStoreList" PageSize="2" Width="600px">
    <Columns>
        <asp:TemplateField>
            <ItemTemplate>
            <table border="0">
                <tr>
	                <td align="left" valign="top" width="135">
	                    <asp:HyperLink Target="_blank" ID="hplLogo" runat="server" NavigateUrl='<%# GetStoreURL(DataBinder.Eval(Container, "DataItem.storeId").ToString()) %>'>
                <asp:Image ID="Image1" runat="server" ImageUrl='<%# GetUserLogo(DataBinder.Eval(Container, "DataItem.logoFile").ToString()) %>' Height="130px" Width="130px" /></asp:HyperLink>
	                </td>
	                <td align="left" valign="top">
	                <ul>
		                <li>Chủ cửa hàng : <asp:Label ID="Label3" runat="server" Text='<%# Bind("fullName") %>'></asp:Label></li><li>Tên cửa hàng : <asp:Label ID="Label1" runat="server" Text='<%# Bind("storeName") %>'></asp:Label></li><li>Mô tả cửa hàng : <asp:Label ID="Label2" runat="server" Text='<%# Bind("description") %>'></asp:Label></li></ul>
	                </td>
                </tr>
            </table>

            
                
                <br />
                
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
    <RowStyle HorizontalAlign="Left" VerticalAlign="Top" />
    <PagerStyle HorizontalAlign="Right" />
</asp:GridView>
<asp:SqlDataSource ID="dsStoreList" runat="server"></asp:SqlDataSource>
<asp:Label ID="lblMessage" runat="server"></asp:Label>
<asp:Label ID="lblDebugMessage" runat="server"></asp:Label>
